from pyecharts.charts import Pie
from pyecharts import options

data=[("南昌",30),("上海",80),("北京",70),("深圳",90),("成都",40),("九江",20)]

pie = Pie()
pie.add("单位/个",data)
pie.set_global_opts(title_opts=options.TitleOpts(title="各城市的岗位量占比图"))
pie.render("piera.html")